home *** CD-ROM | disk | FTP | other *** search
- Path: news.cencom.net!ns!tanp
- From: tanp@ns (Bill Wendling)
- Newsgroups: comp.lang.c
- Subject: Re: Unsigned char (How to print it)
- Date: 27 Jan 1996 06:18:36 GMT
- Organization: Cen-Com Internet
- Message-ID: <4ecg3s$lqm@news.cencom.net>
- References: <4e8qq9$9ar@sunqbc.risq.net>
- NNTP-Posting-Host: ns.cencom.net
- X-Newsreader: TIN [version 1.2 PL2]
-
- Benoit_Cavannagh inexplicably wrote:
- } Does someboday can show me how to print a unsigned char with printf,
- } it's because I want to print the time with the interruption.
-
- To print out a character using printf, the format is:
-
- printf("x = %c\n", x);
-
- where x is the unsigned character (or even just a regular character).
-
- --
- Bill Wendling | "Pinky, are you thinking what I'm thinking?"
- tanp@ns.cencom.net | "I think so, Brain, but burlap chafes me so."
- "Boom Shanka" | Finger me for my Geek Code...NOW!
-